<?
$intereses = "40";

for($i=0;$i<10;$i++){

$inversion = $inversion+$intereses;

$montototal = ($inversion*4/100)+$inversion;


}

?>
{
"title":{
"text": "CARPETAS",
"style": "{font-size: 20px; color:#999900; text-align: center;}"
},

"y_legend":{
"text": "",
"style": "{color: #99cc33; font-size: 12px;}"
},

"elements":[
{
"type": "line",
"alpha": 0.5,
"colour": "#0000cc",
"text": "INVERSION",
"values" : [2,3,4,5,6,7,8,9]
},
{
"type": "line",
"alpha": 0.5,
"colour": "#660033",
"text": "GANANCIA TOTAL",
"values" : [3,5,7,9,11,13,15,17]
},
{
"type": "line",
"alpha": 0.5,
"colour": "#000000",
"text": "INTERESES GANADOS",
"values" : [1,2,3,4,5,6,7,8]
}

],

"x_axis":{
"stroke":2,
"colour":"#d000d0",
"grid_colour":"#00ff00"
},

"y_axis":{
"stroke": 4,
"tick_length": 3,
"colour": "#9933ff",
"grid_colour": "#0000ff",
"offset": 0,
"max": 20
}
} 